home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / Build
Text File  |  1995-07-23  |  2KB  |  67 lines

  1. :
  2. #
  3. # Build script for Contributed CD-ROM Tools
  4. #
  5. # Written 05-Mar-94 by rr@sco.com
  6. #
  7.  
  8. EMACDIR=emacs-19.22
  9. CVSDIR=cvs-1.3
  10.  
  11. SUBDIRS="include Mesa-1.2.1 Mosaic-2.6b3 cproto-3.0 elm2.4-PL24 ghostview-1.5 \
  12.     bpatch tcl-7.3 gnugrep-1.5 groff-1.09 gs261 gzip-1.2.4 hwp hostbyaddr calc \
  13.     ispell-2.0.02 less-252 macgetaddr md5 mkid patch-2.1 perl-5.000 sc-6.21 \
  14.     libwais sco shar-3.49 unzip-5.0 zip-1.9 zoo-2.1 tcsh-6.05 tin-1.22 \
  15.     ucblogo MotifApp gdiff-2.2 rcs-5.6.0.1 xc-4.4 gawk-2.15.5 mpeg_encode-1.3 \
  16.     ausay ecu-3.35 getline mh-6.8.3 ncftp-1.71 sox-11.12 term-2.3.5 maplay-1.2 \
  17.     glimpse-2.1 mpack-1.2 linuxdoc-sgml-1.1/sgmls-1.1 strn/src play_speed \
  18.     vtcl expect-5.16 me-3.12 mtools-2.0 awf glimpsehttp imap-3.5 pine-3.91 \
  19.     vim-3.0 archie-1.4.1 bsdinstall flock gnucpio-2.3 gnudiff gnupatch-2.1 \
  20.     gds keycode ispell-3.1 man2html-2.0.2 pcal-4.3 readline-2.0 lynx-2.4 \
  21.     lsof_3.35 u386mon-2.74 ObjectTcl-1.1 tk3.6 ile-2.01 vuser screen-3.5.1 \
  22.     scripts bash-1.14.4 "
  23.  
  24. HERE=`pwd`
  25. BLDARG=
  26.  
  27. [ "$1" = "remove" ] && {
  28.     [ $HERE= /v/bld/usr/src/Tools ] && rm -rf *
  29.     getcsc
  30. }
  31.  
  32. [ "$1" = "get" ] && getcsc
  33.  
  34. [ "$1" = "install" ] && BLDARG="DESTDIR=$DESTDIR install"
  35.  
  36. [ "$1" = "clean" ] && BLDARG=clean
  37.  
  38. for i in $SUBDIRS
  39. do
  40.     [ -d $i ] && {
  41.         echo "====Making in $i===="
  42.         cd $i
  43.         [ -f Imakefile ] && /usr/bin/X11/xmkmf
  44.         make -k $BLDARG
  45.         cd ..
  46.     }
  47. done
  48. #
  49. # Now attempt to build CVS if it is here
  50. #
  51. [ -d $CVSDIR ] && {
  52.     echo "====Making in $CVSDIR===="
  53.     cd $CVSDIR
  54.     CC="cc -O" sh ./configure --prefix=/usr/skunk
  55.     make $BLDARG
  56. }
  57.  
  58. #
  59. # Now attempt to build emacs if it is here
  60. #
  61. [ -d $EMACDIR ] && {
  62.     echo "====Making in $EMACDIR===="
  63.     cd $EMACDIR
  64.     sh ./configure i386-*-sco3.2v4 --with-x11 --with-gcc=no --prefix=/usr/skunk
  65.     make $BLDARG
  66. }
  67.